<div class="container-fluid">
    <div class="row-fluid">
        <div class="span3"><?php echo $this->partial('_menu.phtml') ?></div>
        <div class="span9">
            <div class="wrap">
                <?php echo $this->partial('_message.phtml') ?>
                <div id="main-content">
                    <form action="<?php echo $this->baseUrl()?>/admin/choix/menu" method="post" name="choix_vente">
                        <div align="center">
                            Vente à éditer :
                            <select name="num_vente" style="margin-top:8px">
                            <?php
							$selected='';
                            foreach($this->rows as $row):
                                $dtvente = new DateTime($row['dtvente']);
                                $dt = $dtvente->format('d/m/Y');
								if($this->vente == $row['p_ventes']) $selected='selected';
								else $selected='';
                            ?>
                                <option value="<?php echo $row['p_ventes']?>" <?php echo $selected?>><?php echo $dt . ' - ' . stripslashes($row['titre'])?></option>
                            <?php endforeach;
                            $num_ventes = $this->rows[0]['p_ventes'];
						    if($this->vente) $num_ventes = $this->vente;
                            ?>
                            </select>
                            <input type="submit" value=" GO " class="btn" />
                        </div>
                    </form>
                </div>
            </div>
            <!--/row-->
        </div>
        <!--/span-->
    </div>
    <!--/row-->
</div>
